import request from '@/utils/request'

/**
 * 企业前端-获取金融服务申请列表
 * @param {*} data 
 * @returns 
 */
export function getClientCrelist (data) {
  return request({
    url: '/basic-api/credit/noAuth/creApplicationlist',
    method: 'get',
    params: data
  })
}

/**
 * 企业前端-修改服务融资申请
 * @param {*} data 
 * @returns 
 */
export function creApplicationEdit (data) {
  return request({
    url: '/basic-api/credit/creApplication/creApplicationEdit',
    method: 'put',
    data
  })
}

/**
 * 企业前端-添加服务融资申请
 * @param {*} data 
 * @returns 
 */
export function creApplicationAdd (data) {
  return request({
    url: '/basic-api/credit/creApplication/creApplicationAdd',
    method: 'post',
    data
  })
}



/**
 * 企业前端-获取金融服务申请详情
 * @param {*} id 
 * @returns 
 */
export function getCreApplicationDetail (id) {
  return request({
    url: '/basic-api/credit/creApplication/creApplicationById/' + id,
    method: 'get',
  })
}

